
;;
window = global;
delete global;
dtavm = {}
dtavm.log = console.log
window.enventObj = {}
addEventListener = function(type, listener){
    window.enventObj[type] = listener
}
mozRTCPeerConnection = function(){}
RTCPeerConnection = function(){}
RTCPeerConnection.prototype.createDataChannel = function(res){
    if(res == "bl") return {}
}
DeviceOrientationEvent = function(){}
SyncManager = function(){}
customElements = {}
matchMedia = function(){
    return {
        matches: (res == '(prefers-reduced-motion: no-preference)' || res == '(prefers-color-scheme: light)') ? true : false,
        media: res
    }
}
window.getComputedStyle = function getComputedStyle(){
    return {
        getPropertyValue: function (res) {
            if (res == 'color') {
                return 'rgb(0, 0, 0)'
            }
        }
    }
}

TCaptchaReferrer = 'https://cloud.tencent.com/product/captcha'
window.innerWidth = 360
window.innerHeight = 360
localStorage = {
    TDC_itoken: "1188809710:1746861129",
    removeItem: function (key) {
        delete this[key]
    },
    getItem: function (key) {
        return this[key] ? this[key] : null;
    },
    setItem: function (key, value) {
        this[key] = "" + value;
    }
}
sessionStorage = {
    removeItem: function (key) {
        delete this[key]
    },
    getItem: function (key) {
        return this[key] ? this[key] : null;
    },
    setItem: function (key, value) {
        this[key] = "" + value;
    }
}
CSS = {
    supports:function(res){
        if (res == 'overscroll-behavior') {
            return true
        }
        return false
    }
}
location = {
    "ancestorOrigins": {
        "0": "https://cloud.tencent.com"
    },
    "href": "https://turing.captcha.gtimg.com/1/template/drag_ele.html",
    "origin": "https://turing.captcha.gtimg.com",
    "protocol": "https:",
    "host": "turing.captcha.gtimg.com",
    "hostname": "turing.captcha.gtimg.com",
    "port": "",
    "pathname": "/1/template/drag_ele.html",
    "search": "",
    "hash": ""
}
document = {
    location: location,
    URL: 'https://turing.captcha.gtimg.com/1/template/drag_ele.html',
    cookie: '',
    characterSet: 'UTF-8',
    charset: 'UTF-8',
    body:{
        appendChild:function(obj){return obj},
        removeChild:function(obj){return obj}
    },
    head:{
        appendChild:function(obj){return obj},
        removeChild:function(obj){return obj}
    },
    addEventListener: addEventListener,
    createElement: function(tag){
        if (tag == 'div') {
            return {
                outerHTML: '',
                innerHTML:'',
                appendChild:function(obj){return obj},
                cloneNode: function (res) {return this},
                insertBefore:function(){},
                replaceChild:function(newChild,oldChild){return oldChild}
            }
        }
        if(tag == 'canvas'){
            return {
                getContext:function(tag){
                    if(tag == 'webgl'){
                        return {
                            getExtension: function (res) {
                                if (res == 'WEBGL_debug_renderer_info') {
                                    return {
                                        'UNMASKED_VENDOR_WEBGL': 37445,
                                        'UNMASKED_RENDERER_WEBGL': 37446
                                    }
                                }
                            },
                            createBuffer: function (res) { },
                            getSupportedExtensions: function (res) {
                                return ["ANGLE_instanced_arrays", "EXT_blend_minmax", "EXT_clip_control", "EXT_color_buffer_half_float", "EXT_depth_clamp", "EXT_disjoint_timer_query", "EXT_float_blend", "EXT_frag_depth", "EXT_polygon_offset_clamp", "EXT_shader_texture_lod", "EXT_texture_compression_bptc", "EXT_texture_compression_rgtc", "EXT_texture_filter_anisotropic", "EXT_sRGB", "KHR_parallel_shader_compile", "OES_element_index_uint", "OES_fbo_render_mipmap", "OES_standard_derivatives", "OES_texture_float", "OES_texture_float_linear", "OES_texture_half_float", "OES_texture_half_float_linear", "OES_vertex_array_object", "WEBGL_blend_func_extended", "WEBGL_color_buffer_float", "WEBGL_compressed_texture_s3tc", "WEBGL_compressed_texture_s3tc_srgb", "WEBGL_debug_renderer_info", "WEBGL_debug_shaders", "WEBGL_depth_texture", "WEBGL_draw_buffers", "WEBGL_lose_context", "WEBGL_multi_draw", "WEBGL_polygon_mode"]
                            },
                            getParameter:function(tag){
                                if (tag == '37445') {
                                    return 'Google Inc. (Intel)'
                                }
                                if (tag == '37446') {
                                    return 'ANGLE (Intel, Intel(R) Iris(R) Xe Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)'
                                }
                            }
                        
                        }
                    }
                    if(tag == '2d'){
                        return {
                            fillRect:function(){},
                            fillText:function(){}
                        }
                    }
                },
                toDataURL: function toDataURL() {
                    return ''
                },
            }
        }
        if(tag == 'p'){
            return {}
        }
        if(tag == 'span'){
            return {
                setAttribute:function(){},
                removeAttribute:function(){},
                removeChild:function(){},
                appendChild:function(obj){return obj}
            }
        }
        if(tag == 'iframe'){
            return {
                style:{},
                contentWindow:{
                    document:{
                        createElement:function(tag){
                            if(tag == 'div') return {
                                outerHTML:''
                            }
                        }
                    },
                    top: this
                }
            }
        }
        if(tag == 'li'){
            return {
                appendChild:function(obj){return obj}
            }
        }
        if(tag == 'a'){
            return {
                appendChild:function(obj){return obj}
            }
        }
        if(tag == 'style'){
            return {
                innerHTML: "",
                sheet: {
                    cssRules: {
                        0: {},
                        length: 1
                    }
                },
                remove: function(){}
            }
        }
        if(tag == 'h1'){
            return {
                appendChild:function(obj){return obj}
            }
        }
    },
    getElementById:function(tag){
        if(tag == 'tCaptchaDyContent') return null
        if(tag == 'preview') return {
            captureStream:function captureStream(){},
        }
        if(tag == 'firsth') return {}
        if(tag == 'secondp') return {}
        if(tag == 'firstp') return {}
        if(tag == 'secondh') return {}
        if (/^\d+$/.test(tag)) {
            return {}
        }
    },
    documentElement: {}
}

navigator = {
    userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36",
    languages: ["zh-CN","zh"],
    language: "zh-CN",
    platform: 'Win32',
    hardwareConcurrency: 20,
    cookieEnabled: false,
    cookieDeprecationLabel: {},
    appCodeName: "Mozilla",
    appName: "Netscape",
    vendor: "Google Inc.",
    appVersion: "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36",
    webdriver: false,
    requestMIDIAccess: function () {},
    serviceWorker: function(){}
}
history = {}
screen = {
    colorDepth: 24,
    width: 1707,
    height: 1067,
    availHeight: 1019,
    pixelDepth: 24,
}
setInterval = function () {}
setTimeout = function () {}
clearInterval = function () {}

;;


!function (t) {
    var e = {};

    function r(i) {
        if (e[i])
            return e[i].exports;
        var n = e[i] = {
            i: i,
            l: !1,
            exports: {
                __esModule: undefined
            }
        };
        return t[i].call(n.exports, n, n.exports, r),
            n.l = !0,
            n.exports
    }

    r.m = t,
        r.c = e,
        r.d = function (t, e, i) {
            r.o(t, e) || Object.defineProperty(t, e, {
                enumerable: !0,
                get: i
            })
        }
        ,
        r.r = function (t) {
            "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
                value: "Module"
            }),
                Object.defineProperty(t, "__esModule", {
                    value: !0
                })
        }
        ,
        r.t = function (t, e) {
            if (1 & e && (t = r(t)),
            8 & e)
                return t;
            if (4 & e && "object" == typeof t && t && t.__esModule)
                return t;
            var i = Object.create(null);
            if (r.r(i),
                Object.defineProperty(i, "default", {
                    enumerable: !0,
                    value: t
                }),
            2 & e && "string" != typeof t)
                for (var n in t)
                    r.d(i, n, function (e) {
                        return t[e]
                    }
                        .bind(null, n));
            return i
        }
        ,
        r.n = function (t) {
            var e = t && t.__esModule ? function () {
                        return t["default"]
                    }
                    : function () {
                        return t
                    }
            ;
            return r.d(e, "a", e),
                e
        }
        ,
        r.o = function (t, e) {
            return Object.prototype.hasOwnProperty.call(t, e)
        }
        ,
        r.p = "";
        // r(r.s = 93)
        window._r = r
}({
    0: function(t, e, r) {
    "use strict";
    function i(t, e) {
        var r = (65535 & t) + (65535 & e);
        return (t >> 16) + (e >> 16) + (r >> 16) << 16 | 65535 & r
    }
    function n(t, e, r, n, o, a) {
        return i(function(t, e) {
            return t << e | t >>> 32 - e
        }(i(i(e, t), i(n, a)), o), r)
    }
    function o(t, e, r, i, o, a, s) {
        return n(e & r | ~e & i, t, e, o, a, s)
    }
    function a(t, e, r, i, o, a, s) {
        return n(e & i | r & ~i, t, e, o, a, s)
    }
    function s(t, e, r, i, o, a, s) {
        return n(e ^ r ^ i, t, e, o, a, s)
    }
    function c(t, e, r, i, o, a, s) {
        return n(r ^ (e | ~i), t, e, o, a, s)
    }
    function u(t, e) {
        var r, n, u, l, d;
        t[e >> 5] |= 128 << e % 32,
        t[14 + (e + 64 >>> 9 << 4)] = e;
        var h = 1732584193
          , p = -271733879
          , f = -1732584194
          , g = 271733878;
        for (r = 0; r < t.length; r += 16)
            n = h,
            u = p,
            l = f,
            d = g,
            p = c(p = c(p = c(p = c(p = s(p = s(p = s(p = s(p = a(p = a(p = a(p = a(p = o(p = o(p = o(p = o(p, f = o(f, g = o(g, h = o(h, p, f, g, t[r], 7, -680876936), p, f, t[r + 1], 12, -389564586), h, p, t[r + 2], 17, 606105819), g, h, t[r + 3], 22, -1044525330), f = o(f, g = o(g, h = o(h, p, f, g, t[r + 4], 7, -176418897), p, f, t[r + 5], 12, 1200080426), h, p, t[r + 6], 17, -1473231341), g, h, t[r + 7], 22, -45705983), f = o(f, g = o(g, h = o(h, p, f, g, t[r + 8], 7, 1770035416), p, f, t[r + 9], 12, -1958414417), h, p, t[r + 10], 17, -42063), g, h, t[r + 11], 22, -1990404162), f = o(f, g = o(g, h = o(h, p, f, g, t[r + 12], 7, 1804603682), p, f, t[r + 13], 12, -40341101), h, p, t[r + 14], 17, -1502002290), g, h, t[r + 15], 22, 1236535329), f = a(f, g = a(g, h = a(h, p, f, g, t[r + 1], 5, -165796510), p, f, t[r + 6], 9, -1069501632), h, p, t[r + 11], 14, 643717713), g, h, t[r], 20, -373897302), f = a(f, g = a(g, h = a(h, p, f, g, t[r + 5], 5, -701558691), p, f, t[r + 10], 9, 38016083), h, p, t[r + 15], 14, -660478335), g, h, t[r + 4], 20, -405537848), f = a(f, g = a(g, h = a(h, p, f, g, t[r + 9], 5, 568446438), p, f, t[r + 14], 9, -1019803690), h, p, t[r + 3], 14, -187363961), g, h, t[r + 8], 20, 1163531501), f = a(f, g = a(g, h = a(h, p, f, g, t[r + 13], 5, -1444681467), p, f, t[r + 2], 9, -51403784), h, p, t[r + 7], 14, 1735328473), g, h, t[r + 12], 20, -1926607734), f = s(f, g = s(g, h = s(h, p, f, g, t[r + 5], 4, -378558), p, f, t[r + 8], 11, -2022574463), h, p, t[r + 11], 16, 1839030562), g, h, t[r + 14], 23, -35309556), f = s(f, g = s(g, h = s(h, p, f, g, t[r + 1], 4, -1530992060), p, f, t[r + 4], 11, 1272893353), h, p, t[r + 7], 16, -155497632), g, h, t[r + 10], 23, -1094730640), f = s(f, g = s(g, h = s(h, p, f, g, t[r + 13], 4, 681279174), p, f, t[r], 11, -358537222), h, p, t[r + 3], 16, -722521979), g, h, t[r + 6], 23, 76029189), f = s(f, g = s(g, h = s(h, p, f, g, t[r + 9], 4, -640364487), p, f, t[r + 12], 11, -421815835), h, p, t[r + 15], 16, 530742520), g, h, t[r + 2], 23, -995338651), f = c(f, g = c(g, h = c(h, p, f, g, t[r], 6, -198630844), p, f, t[r + 7], 10, 1126891415), h, p, t[r + 14], 15, -1416354905), g, h, t[r + 5], 21, -57434055), f = c(f, g = c(g, h = c(h, p, f, g, t[r + 12], 6, 1700485571), p, f, t[r + 3], 10, -1894986606), h, p, t[r + 10], 15, -1051523), g, h, t[r + 1], 21, -2054922799), f = c(f, g = c(g, h = c(h, p, f, g, t[r + 8], 6, 1873313359), p, f, t[r + 15], 10, -30611744), h, p, t[r + 6], 15, -1560198380), g, h, t[r + 13], 21, 1309151649), f = c(f, g = c(g, h = c(h, p, f, g, t[r + 4], 6, -145523070), p, f, t[r + 11], 10, -1120210379), h, p, t[r + 2], 15, 718787259), g, h, t[r + 9], 21, -343485551),
            h = i(h, n),
            p = i(p, u),
            f = i(f, l),
            g = i(g, d);
        return [h, p, f, g]
    }
    function l(t) {
        var e, r = "";
        for (e = 0; e < 32 * t.length; e += 8)
            r += String.fromCharCode(t[e >> 5] >>> e % 32 & 255);
        return r
    }
    function d(t) {
        var e, r = [];
        for (r[(t.length >> 2) - 1] = void 0,
        e = 0; e < r.length; e += 1)
            r[e] = 0;
        for (e = 0; e < 8 * t.length; e += 8)
            r[e >> 5] |= (255 & t.charCodeAt(e / 8)) << e % 32;
        return r
    }
    function h(t) {
        var e, r, i = "0123456789abcdef", n = "";
        for (r = 0; r < t.length; r += 1)
            e = t.charCodeAt(r),
            n += i.charAt(e >>> 4 & 15) + i.charAt(15 & e);
        return n
    }
    function p(t) {
        return unescape(encodeURIComponent(t))
    }
    function f(t) {
        return function(t) {
            return l(u(d(t), 8 * t.length))
        }(p(t))
    }
    function g(t, e) {
        return function(t, e) {
            var r, i, n = d(t), o = [], a = [];
            for (o[15] = a[15] = void 0,
            n.length > 16 && (n = u(n, 8 * t.length)),
            r = 0; r < 16; r += 1)
                o[r] = 909522486 ^ n[r],
                a[r] = 1549556828 ^ n[r];
            return i = u(o.concat(d(e)), 512 + 8 * e.length),
            l(u(a.concat(i), 640))
        }(p(t), p(e))
    }
    function m(t, e, r) {
        return e ? r ? g(e, t) : function(t, e) {
            return h(g(t, e))
        }(e, t) : r ? f(t) : function(t) {
            return h(f(t))
        }(t)
    }
    e.__esModule = !0,
    e.getWorkloadResult = e.md5 = void 0,
    e.md5 = m,
    e.getWorkloadResult = function(t, e) {
        for (var r = t.nonce, i = t.target, n = +new Date, o = 0, a = "number" == typeof e ? e : 3e4; m("" + r + o) !== i && (o += 1,
        !(+new Date - n > a)); )
            ;
        return {
            ans: o,
            duration: +new Date - n
        }
    }
}
});
;;


code = ''



;;

currentSimulatedTime = 0; // 用于记录模拟的当前时间
// 模拟滑块时间戳
startTrackTime = new Date().getTime()
const OriginalDate = Date;
const OriginalDatePrototype = Date.prototype;
function CustomDate(...args) {
    if (startTrackTime)
        return new OriginalDate(startTrackTime + currentSimulatedTime);
    return new OriginalDate(...args);

}
CustomDate.prototype = OriginalDatePrototype;
window.Date = CustomDate;


function encryptTrack() {
    // let n = [[4, 0, 0, t, 0]]
    let n= [[4,0,0,1714122690082,0],[1,461,162,8,0],[1,34,35,40,0],[1,24,16,33,0],[1,17,7,30,0],[1,8,-1,57,0],[1,-10,-8,40,0],[1,-8,-6,32,0],[1,-8,-6,33,0],[1,-11,-4,39,0],[1,1,0,32,0],[1,5,8,31,0],[1,1,13,32,0],[1,-260,-163,13740,0],[1,64,93,77,0],[1,-122,87,53897,0]];
    let l = [0, 0, 0, 0]
    let d = [10, 26, 290, 226]
    // let p = Math.round(34 / 480 * (d[3] - d[1]));
    // d[1] += p

    return {
        slideValue: n,
        verifyBtnPos: l,
        opAreaPos: d,
        clientSize: [1707, 932]
    }
}

function get_info() {
    return window.TDC.getInfo()['info']
}

function get_collect(track = []) {
    // 模拟鼠标移动
    simulateMouse(track)
    let data1 = encryptTrack()
    window.TDC.setData(data1)

    let data2 = {"ft": "qf_7Pf__H"}
    window.TDC.setData(data2)
    return decodeURIComponent(window.TDC.getData(!0))
}

function get_pos(x, y) {
    let rate = 0.5059523809523809
    return Math.floor(x / rate) + "," + Math.floor(y / rate)
}

function get_pow_answer(prefix, md5){
    let data = {
        "target": md5,
        "nonce": prefix
    }
    return window._r(0).getWorkloadResult(data)
}

function random(min, max) {
    min = Math.ceil(min);
    max = Math.floor(max);
    return Math.floor(Math.random() * (max - min + 1)) + min;
}

function wait(ms) {
    const start = Date.now();
    while (Date.now() - start < ms) {
        // 忙等待，什么都不做直到时间过去
    }
}

function simulateMouse(track) {
    for(let i = 0;i<track.length; i++){
        let event = {
            clientX: track[i][0],
            clientY: track[i][1],
            isTrusted: true,
            type: "mousemove",
            view: window,
            currentTarget: document
        }
        if(i == 0 || i >= track.length - 5 ){
            // wait(random(200,350));
            currentSimulatedTime = random(200,350)
        }else{
            // wait(random(20,80));
            currentSimulatedTime = random(20,80)
        }
        window.enventObj["mousemove"].call(document, event)
    }
}